package project.menu;

import java.util.ArrayList;

public class Back implements IMenuItem {

	private static final String name = "Back";
	private final Integer id = 0;
	private IMenu backmenu;

	public Back() {

	}

	public Integer getId() {
		return id;
	}

	public ArrayList<String> action() {
		return null;

	}

	public String getNameItem() {

		return name;
	}

	public void setSubmenu(IMenu menu) {
		this.backmenu = menu;
	}

	public IMenu getMenu() {
		return backmenu;
	}

}
